// 菜单对象的接口类型
export interface MenuInfoModel {
  name: string
  code: string //功能权限值
  type: 1 | 2

  id?: string
  toCode?: string
  pid?: string
  level?: PermissionLevelModel
  children?: MenuListModel
  select?: boolean
}
// 菜单对象数组的类型
export type MenuListModel = MenuInfoModel[]
// 权限等级
export type PermissionLevelModel = 0 | 1 | 2 | 3 | 4

// 请求菜单列表返回的数据的接口类型
export interface ResMenuListModel {
  children: MenuListModel
  // select?: boolean
}
